﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response
{
    public class ResponseGoodDetail
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public int sid { get; set; }
        /// <summary>
        /// 商品评价评分
        /// </summary>
        public double rate { get; set; }
        /// <summary>
        /// 商品库存
        /// </summary>
        public int inventory { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public string spec { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal price { get; set; }
        /// <summary>
        /// 优惠价格
        /// </summary>
        public decimal? promotePrice { get; set; }
        /// <summary>
        /// 售出数
        /// </summary>
        public int saleCout { get; set; }
        /// <summary>
        /// 详细图片
        /// </summary>
        public string detailImages { get; set; }
        public int isCollected { get; set; }
        /// <summary>
        /// 收藏编号（如果收藏了的话）
        /// </summary>
        public int? cid { get; set; }
        /// <summary>
        /// 购物车数量
        /// </summary>
        public int cartCount { get; set; }
    }
}
